package com.ktgj.hotel.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 酒店房型价格对象 hotel_room_price
 * 
 * @author ruoyi
 * @date 2022-08-25
 */
public class HotelRoomPrice implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 酒店房型价格表主键 */
    private Long roomPriceId;

    /** 酒店房型表主键 */
    @Excel(name = "酒店房型表主键")
    private Long roomId;

    /** 价格枚举，现付，预付，担保 */
    @Excel(name = "价格枚举，现付，预付，担保")
    private String priceType;

    /** 价格开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "价格开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 价格结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "价格结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 佣金 */
    @Excel(name = "佣金")
    private Long commission;

    /** 成本价 */
    @Excel(name = "成本价")
    private Long basePrice;

    /** 销售价 */
    @Excel(name = "销售价")
    private Long sellPrice;

    /** 会员价 */
    @Excel(name = "会员价")
    private Long vipPrice;

    /** 创建者 */
    @ApiModelProperty(value = "创建者")
    private Long createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /*------------------------------------------------------*/

    /** 价格开始时间 */
    @Excel(name = "价格开始时间")
    private String beginDate;

    /** 价格结束时间 */
    @Excel(name = "价格结束时间")
    private String endDate;

    public String getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(String beginDate) {
        this.beginDate = beginDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setRoomPriceId(Long roomPriceId)
    {
        this.roomPriceId = roomPriceId;
    }

    public Long getRoomPriceId() 
    {
        return roomPriceId;
    }
    public void setRoomId(Long roomId) 
    {
        this.roomId = roomId;
    }

    public Long getRoomId() 
    {
        return roomId;
    }
    public void setPriceType(String priceType) 
    {
        this.priceType = priceType;
    }

    public String getPriceType() 
    {
        return priceType;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setCommission(Long commission) 
    {
        this.commission = commission;
    }

    public Long getCommission() 
    {
        return commission;
    }
    public void setBasePrice(Long basePrice) 
    {
        this.basePrice = basePrice;
    }

    public Long getBasePrice() 
    {
        return basePrice;
    }
    public void setSellPrice(Long sellPrice) 
    {
        this.sellPrice = sellPrice;
    }

    public Long getSellPrice() 
    {
        return sellPrice;
    }
    public void setVipPrice(Long vipPrice) 
    {
        this.vipPrice = vipPrice;
    }

    public Long getVipPrice() 
    {
        return vipPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roomPriceId", getRoomPriceId())
            .append("roomId", getRoomId())
            .append("priceType", getPriceType())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("commission", getCommission())
            .append("basePrice", getBasePrice())
            .append("sellPrice", getSellPrice())
            .append("vipPrice", getVipPrice())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
